#-------------------------------------------------
#
# Project created by QtCreator 2022-06-02T13:58:27
#
#-------------------------------------------------

QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = gateway_app
TEMPLATE = app
QMAKE_CXXFLAGS += -std=c++11

SOURCES += main.cpp\
        homepage.cpp \
    globalval.cpp \
    mqtthandler.cpp \
    setting.cpp \
    login.cpp \
    first.cpp \
    modbus.cpp \
    stm32.cpp \
    video.cpp \
    widget.cpp

HEADERS  += homepage.h \
    globalval.h \
    mqtthandler.h \
    setting.h \
    login.h \
    first.h \
    modbus.h \
    stm32.h \
    video.h \
    widget.h

FORMS    += homepage.ui \
    setting.ui \
    login.ui \
    first.ui \
    modbus.ui \
    stm32.ui \
    video.ui \
    widget.ui

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/ -lQt5Qmqttd
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/ -lQt5Qmqttd

INCLUDEPATH += $$PWD/.
INCLUDEPATH += $$PWD/mqtt
DEPENDPATH += $$PWD/.

QT       += core gui widgets network

INCLUDEPATH += F:/opencv/opencv3.4-install/install/include
INCLUDEPATH += F:/opencv/opencv3.4-install/install/include/opencv
INCLUDEPATH += F:/opencv/opencv3.4-install/install/include/opencv2
LIBS +=  F:/opencv/opencv3.4-install/install/x86/mingw/lib/libopencv_*.a

RESOURCES += \
    res.qrc

LIBS += -lws2_32
